package com.manong.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.manong.entity.SysSalary;
import com.manong.vo.CommonReqVo;
import com.manong.vo.SysSalaryVo;

import java.util.List;

/**
 * 薪资(SysSalary)表服务接口
 *
 */
public interface SysSalaryService extends IService<SysSalary> {

    /**
     * 分页查询
     * @param commonReqVo
     * @return
     */
    IPage listAll(CommonReqVo commonReqVo);

    /**
     * 批量删除数据，根据主键
     * @param commonReqVo
     * @return
     */
    Boolean delete1(CommonReqVo commonReqVo);

    Boolean save1(SysSalary sysSalary);

    List<SysSalaryVo> chart(CommonReqVo commonReqVo);
}
